package dao;

public class SimpleDaoFactory {
    private NewsDao dao = SimpleDaoFactory.getInstance();

    /**
     * 成绩NewDao实例的工厂方法
     */
    public static NewsDao getInstance() {
        return new NewsDaoImpl();
    }
}
